package com.yic.module.mes.convert.moroute;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import com.yic.module.mes.api.moroute.dto.MoRouteRespDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.mes.controller.admin.moroute.vo.*;
import com.yic.module.mes.dal.dataobject.moroute.MoRouteDO;

/**
 * 工单工艺路线 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface MoRouteConvert {

    MoRouteConvert INSTANCE = Mappers.getMapper(MoRouteConvert.class);

    MoRouteDO convert(MoRouteCreateReqVO bean);

    MoRouteDO convert(MoRouteUpdateReqVO bean);

    MoRouteRespVO convert(MoRouteDO bean);

    List<MoRouteRespVO> convertList(List<MoRouteDO> list);

    PageResult<MoRouteRespVO> convertPage(PageResult<MoRouteDO> page);

    List<MoRouteExcelVO> convertList02(List<MoRouteDO> list);

    List<MoRouteDO> convertList03(List<MoRouteCreateReqVO> createReqVOS);

    List<MoRouteRespDTO> convertList04(List<MoRouteDO> list);
}
